home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / isit.zip / ISIT.TXT < prev   
Text File  |  1989-02-11  |  1KB  |  34 lines

  1. ISIT -- Sets ERRORLEVEL 1 if system day equals command line entry.  By
  2.      Brian E. Smith.
  3.  
  4.      This program will let your batch files (AUTOEXEC, especially)
  5. execute programs depending on the day of the week.
  6.  
  7.                The syntax of this program is:
  8.  
  9.                         ISIT [day]
  10.  
  11.                Where [day] is Sunday, Monday, ..., Saturday.
  12.  
  13.      If the system day matches the day on the command line, ERRORLEVEL
  14. 1 will be set for future processing.  For example, consider this batch
  15. file:
  16.  
  17.               ECHO OFF
  18.               ISIT FRIDAY
  19.               IF ERRORLEVEL 1 ECHO T. G. I. F.
  20.               IF NOT ERRORLEVEL 1 ECHO TOO BAD.
  21.  
  22.      If this batch file is run on a Friday, the computer will respond
  23. "T. G. I. F", otherwise "TOO BAD".  You can use this program to run
  24. hard disk unfragment programs, backups, or whatever you need to run on
  25. a weekly basis.
  26.  
  27.      I hope this program will be useful to you.  If it is, please let
  28. me know.  I'd like to hear from you.
  29.  
  30. Brian E. Smith
  31. 59 Main Street
  32. Piedmont, SC 29673
  33.  
  34.